package com.sharding.transaction.demo.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sharding.transaction.demo.entity.Orders;
import com.sharding.transaction.demo.vo.OrdersVo;

public interface IOrderProviderService {


    Orders takeOrderSuc(Long userId, Long goodsId, Integer store);

    Orders takeOrderFail(Long userId, Long goodsId, Integer store);

    IPage<Orders> orders(Integer pageSize, Integer pageNumber, OrdersVo orders);

}
